<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.17"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>IRremoteESP8266: IRDaikin152 Class Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">IRremoteESP8266
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.17 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
var searchBox = new SearchBox("searchBox", "search",false,'Search');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(function() {
  initMenu('',true,false,'search.php','Search');
  $(document).ready(function() { init_search(); });
});
/* @license-end */</script>
<div id="main-nav"></div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#pub-static-methods">Static Public Member Functions</a> &#124;
<a href="#pri-methods">Private Member Functions</a> &#124;
<a href="#pri-attribs">Private Attributes</a> &#124;
<a href="classIRDaikin152-members.html">List of all members</a>  </div>
  <div class="headertitle">
<div class="title">IRDaikin152 Class Reference</div>  </div>
</div><!--header-->
<div class="contents">

<p>Class for handling detailed Daikin 152-bit A/C messages.  
 <a href="classIRDaikin152.html#details">More...</a></p>

<p><code>#include &lt;<a class="el" href="ir__Daikin_8h_source.html">ir_Daikin.h</a>&gt;</code></p>
<div class="dynheader">
Collaboration diagram for IRDaikin152:</div>
<div class="dyncontent">
<div class="center"><img src="classIRDaikin152__coll__graph.png" border="0" usemap="#IRDaikin152_coll__map" alt="Collaboration graph"/></div>
<map name="IRDaikin152_coll__map" id="IRDaikin152_coll__map">
<area shape="rect" title="Class for handling detailed Daikin 152&#45;bit A/C messages." alt="" coords="5,95,107,121"/>
<area shape="rect" href="classIRsend.html" title="Class for sending all basic IR protocols." alt="" coords="23,5,89,32"/>
</map>
<center><span class="legend">[<a href="graph_legend.html">legend</a>]</span></center></div>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:a68dce79bab5890d9aea325a45ef8e4a3"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIRDaikin152.html#a68dce79bab5890d9aea325a45ef8e4a3">IRDaikin152</a> (const uint16_t pin, const bool inverted=false, const bool use_modulation=true)</td></tr>
<tr class="memdesc:a68dce79bab5890d9aea325a45ef8e4a3"><td class="mdescLeft">&#160;</td><td class="mdescRight">Class constructor.  <a href="classIRDaikin152.html#a68dce79bab5890d9aea325a45ef8e4a3">More...</a><br /></td></tr>
<tr class="separator:a68dce79bab5890d9aea325a45ef8e4a3"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a205de6821effc077f51d941d369791e4"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIRDaikin152.html#a205de6821effc077f51d941d369791e4">send</a> (const uint16_t repeat=<a class="el" href="IRremoteESP8266_8h.html#a9407eebab271524e74bc3ddddb1a2e0b">kDaikin152DefaultRepeat</a>)</td></tr>
<tr class="memdesc:a205de6821effc077f51d941d369791e4"><td class="mdescLeft">&#160;</td><td class="mdescRight">Send the current internal state as an IR message.  <a href="classIRDaikin152.html#a205de6821effc077f51d941d369791e4">More...</a><br /></td></tr>
<tr class="separator:a205de6821effc077f51d941d369791e4"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a82fa8bfb3384ed09473345b6e194c3ba"><td class="memItemLeft" align="right" valign="top">int8_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIRDaikin152.html#a82fa8bfb3384ed09473345b6e194c3ba">calibrate</a> (void)</td></tr>
<tr class="memdesc:a82fa8bfb3384ed09473345b6e194c3ba"><td class="mdescLeft">&#160;</td><td class="mdescRight">Run the calibration to calculate uSec timing offsets for this platform.  <a href="classIRDaikin152.html#a82fa8bfb3384ed09473345b6e194c3ba">More...</a><br /></td></tr>
<tr class="separator:a82fa8bfb3384ed09473345b6e194c3ba"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2746854350ca7d3a71699439f9843381"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIRDaikin152.html#a2746854350ca7d3a71699439f9843381">begin</a> ()</td></tr>
<tr class="memdesc:a2746854350ca7d3a71699439f9843381"><td class="mdescLeft">&#160;</td><td class="mdescRight">Set up hardware to be able to send a message.  <a href="classIRDaikin152.html#a2746854350ca7d3a71699439f9843381">More...</a><br /></td></tr>
<tr class="separator:a2746854350ca7d3a71699439f9843381"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4af01f8a2459493762977f8ed260c4e6"><td class="memItemLeft" align="right" valign="top">uint8_t *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIRDaikin152.html#a4af01f8a2459493762977f8ed260c4e6">getRaw</a> ()</td></tr>
<tr class="memdesc:a4af01f8a2459493762977f8ed260c4e6"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get a PTR to the internal state/code for this protocol.  <a href="classIRDaikin152.html#a4af01f8a2459493762977f8ed260c4e6">More...</a><br /></td></tr>
<tr class="separator:a4af01f8a2459493762977f8ed260c4e6"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aab10e030ebe66e44607e9f35af1eb4cb"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIRDaikin152.html#aab10e030ebe66e44607e9f35af1eb4cb">setRaw</a> (const uint8_t new_code[])</td></tr>
<tr class="memdesc:aab10e030ebe66e44607e9f35af1eb4cb"><td class="mdescLeft">&#160;</td><td class="mdescRight">Set the internal state from a valid code for this protocol.  <a href="classIRDaikin152.html#aab10e030ebe66e44607e9f35af1eb4cb">More...</a><br /></td></tr>
<tr class="separator:aab10e030ebe66e44607e9f35af1eb4cb"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a10ee74aa43e3940d657ac88cb03b9138"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIRDaikin152.html#a10ee74aa43e3940d657ac88cb03b9138">on</a> (void)</td></tr>
<tr class="memdesc:a10ee74aa43e3940d657ac88cb03b9138"><td class="mdescLeft">&#160;</td><td class="mdescRight">Change the power setting to On.  <a href="classIRDaikin152.html#a10ee74aa43e3940d657ac88cb03b9138">More...</a><br /></td></tr>
<tr class="separator:a10ee74aa43e3940d657ac88cb03b9138"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a035588ad676a54d2b6ada8cefe10e114"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIRDaikin152.html#a035588ad676a54d2b6ada8cefe10e114">off</a> (void)</td></tr>
<tr class="memdesc:a035588ad676a54d2b6ada8cefe10e114"><td class="mdescLeft">&#160;</td><td class="mdescRight">Change the power setting to Off.  <a href="classIRDaikin152.html#a035588ad676a54d2b6ada8cefe10e114">More...</a><br /></td></tr>
<tr class="separator:a035588ad676a54d2b6ada8cefe10e114"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a887f7340b9c3e7933f5d06bc5f59ee91"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIRDaikin152.html#a887f7340b9c3e7933f5d06bc5f59ee91">setPower</a> (const bool <a class="el" href="classIRDaikin152.html#a10ee74aa43e3940d657ac88cb03b9138">on</a>)</td></tr>
<tr class="memdesc:a887f7340b9c3e7933f5d06bc5f59ee91"><td class="mdescLeft">&#160;</td><td class="mdescRight">Change the power setting.  <a href="classIRDaikin152.html#a887f7340b9c3e7933f5d06bc5f59ee91">More...</a><br /></td></tr>
<tr class="separator:a887f7340b9c3e7933f5d06bc5f59ee91"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8581147072fecf6ebd0dd2da50a63f05"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIRDaikin152.html#a8581147072fecf6ebd0dd2da50a63f05">getPower</a> (void)</td></tr>
<tr class="memdesc:a8581147072fecf6ebd0dd2da50a63f05"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the value of the current power setting.  <a href="classIRDaikin152.html#a8581147072fecf6ebd0dd2da50a63f05">More...</a><br /></td></tr>
<tr class="separator:a8581147072fecf6ebd0dd2da50a63f05"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a97567ade1c0262b3f95f23f171936d8c"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIRDaikin152.html#a97567ade1c0262b3f95f23f171936d8c">setTemp</a> (const uint8_t temp)</td></tr>
<tr class="memdesc:a97567ade1c0262b3f95f23f171936d8c"><td class="mdescLeft">&#160;</td><td class="mdescRight">Set the temperature.  <a href="classIRDaikin152.html#a97567ade1c0262b3f95f23f171936d8c">More...</a><br /></td></tr>
<tr class="separator:a97567ade1c0262b3f95f23f171936d8c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af0a1f8bf9fe412186b53977d225032b2"><td class="memItemLeft" align="right" valign="top">uint8_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIRDaikin152.html#af0a1f8bf9fe412186b53977d225032b2">getTemp</a> ()</td></tr>
<tr class="memdesc:af0a1f8bf9fe412186b53977d225032b2"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the current temperature setting.  <a href="classIRDaikin152.html#af0a1f8bf9fe412186b53977d225032b2">More...</a><br /></td></tr>
<tr class="separator:af0a1f8bf9fe412186b53977d225032b2"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a385a4f65dfccd0a9e94be06ae60c5343"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIRDaikin152.html#a385a4f65dfccd0a9e94be06ae60c5343">setFan</a> (const uint8_t fan)</td></tr>
<tr class="memdesc:a385a4f65dfccd0a9e94be06ae60c5343"><td class="mdescLeft">&#160;</td><td class="mdescRight">Set the speed of the fan.  <a href="classIRDaikin152.html#a385a4f65dfccd0a9e94be06ae60c5343">More...</a><br /></td></tr>
<tr class="separator:a385a4f65dfccd0a9e94be06ae60c5343"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a64eacdc63547026477b5f861e7da62ea"><td class="memItemLeft" align="right" valign="top">uint8_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIRDaikin152.html#a64eacdc63547026477b5f861e7da62ea">getFan</a> (void)</td></tr>
<tr class="memdesc:a64eacdc63547026477b5f861e7da62ea"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the current fan speed setting.  <a href="classIRDaikin152.html#a64eacdc63547026477b5f861e7da62ea">More...</a><br /></td></tr>
<tr class="separator:a64eacdc63547026477b5f861e7da62ea"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aad0a46c751b73792282d6614103f57d8"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIRDaikin152.html#aad0a46c751b73792282d6614103f57d8">setMode</a> (const uint8_t mode)</td></tr>
<tr class="memdesc:aad0a46c751b73792282d6614103f57d8"><td class="mdescLeft">&#160;</td><td class="mdescRight">Set the operating mode of the A/C.  <a href="classIRDaikin152.html#aad0a46c751b73792282d6614103f57d8">More...</a><br /></td></tr>
<tr class="separator:aad0a46c751b73792282d6614103f57d8"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af4c6c468f3075ffa83694a0da15a707b"><td class="memItemLeft" align="right" valign="top">uint8_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIRDaikin152.html#af4c6c468f3075ffa83694a0da15a707b">getMode</a> (void)</td></tr>
<tr class="memdesc:af4c6c468f3075ffa83694a0da15a707b"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the operating mode setting of the A/C.  <a href="classIRDaikin152.html#af4c6c468f3075ffa83694a0da15a707b">More...</a><br /></td></tr>
<tr class="separator:af4c6c468f3075ffa83694a0da15a707b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad151bb85529d46f7e3e3e65dbf446ff0"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIRDaikin152.html#ad151bb85529d46f7e3e3e65dbf446ff0">setSwingV</a> (const bool <a class="el" href="classIRDaikin152.html#a10ee74aa43e3940d657ac88cb03b9138">on</a>)</td></tr>
<tr class="memdesc:ad151bb85529d46f7e3e3e65dbf446ff0"><td class="mdescLeft">&#160;</td><td class="mdescRight">Set the Vertical Swing mode of the A/C.  <a href="classIRDaikin152.html#ad151bb85529d46f7e3e3e65dbf446ff0">More...</a><br /></td></tr>
<tr class="separator:ad151bb85529d46f7e3e3e65dbf446ff0"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a74ee60e666520513b33927178f15bc7e"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIRDaikin152.html#a74ee60e666520513b33927178f15bc7e">getSwingV</a> (void)</td></tr>
<tr class="memdesc:a74ee60e666520513b33927178f15bc7e"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the Vertical Swing mode of the A/C.  <a href="classIRDaikin152.html#a74ee60e666520513b33927178f15bc7e">More...</a><br /></td></tr>
<tr class="separator:a74ee60e666520513b33927178f15bc7e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:adc8878ec0f6ea2d4fc2fa756a2e9ef4e"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIRDaikin152.html#adc8878ec0f6ea2d4fc2fa756a2e9ef4e">getQuiet</a> (void)</td></tr>
<tr class="memdesc:adc8878ec0f6ea2d4fc2fa756a2e9ef4e"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the Quiet mode status of the A/C.  <a href="classIRDaikin152.html#adc8878ec0f6ea2d4fc2fa756a2e9ef4e">More...</a><br /></td></tr>
<tr class="separator:adc8878ec0f6ea2d4fc2fa756a2e9ef4e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3aadf5f0ae11c5c6c53f351dd6b9c1a4"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIRDaikin152.html#a3aadf5f0ae11c5c6c53f351dd6b9c1a4">setQuiet</a> (const bool <a class="el" href="classIRDaikin152.html#a10ee74aa43e3940d657ac88cb03b9138">on</a>)</td></tr>
<tr class="memdesc:a3aadf5f0ae11c5c6c53f351dd6b9c1a4"><td class="mdescLeft">&#160;</td><td class="mdescRight">Set the Quiet mode of the A/C.  <a href="classIRDaikin152.html#a3aadf5f0ae11c5c6c53f351dd6b9c1a4">More...</a><br /></td></tr>
<tr class="separator:a3aadf5f0ae11c5c6c53f351dd6b9c1a4"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a20ec24a0ef288cabb93080b4fa0f71fe"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIRDaikin152.html#a20ec24a0ef288cabb93080b4fa0f71fe">getPowerful</a> (void)</td></tr>
<tr class="memdesc:a20ec24a0ef288cabb93080b4fa0f71fe"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the Powerful (Turbo) mode of the A/C.  <a href="classIRDaikin152.html#a20ec24a0ef288cabb93080b4fa0f71fe">More...</a><br /></td></tr>
<tr class="separator:a20ec24a0ef288cabb93080b4fa0f71fe"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6477111b5662146e937c10cf02423e10"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIRDaikin152.html#a6477111b5662146e937c10cf02423e10">setPowerful</a> (const bool <a class="el" href="classIRDaikin152.html#a10ee74aa43e3940d657ac88cb03b9138">on</a>)</td></tr>
<tr class="memdesc:a6477111b5662146e937c10cf02423e10"><td class="mdescLeft">&#160;</td><td class="mdescRight">Set the Powerful (Turbo) mode of the A/C.  <a href="classIRDaikin152.html#a6477111b5662146e937c10cf02423e10">More...</a><br /></td></tr>
<tr class="separator:a6477111b5662146e937c10cf02423e10"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af418dbf2bb79dab0193801167dfb5b78"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIRDaikin152.html#af418dbf2bb79dab0193801167dfb5b78">setSensor</a> (const bool <a class="el" href="classIRDaikin152.html#a10ee74aa43e3940d657ac88cb03b9138">on</a>)</td></tr>
<tr class="memdesc:af418dbf2bb79dab0193801167dfb5b78"><td class="mdescLeft">&#160;</td><td class="mdescRight">Set the Sensor mode of the A/C.  <a href="classIRDaikin152.html#af418dbf2bb79dab0193801167dfb5b78">More...</a><br /></td></tr>
<tr class="separator:af418dbf2bb79dab0193801167dfb5b78"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a88d4d0d41f33f71d4a846f6c2547f597"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIRDaikin152.html#a88d4d0d41f33f71d4a846f6c2547f597">getSensor</a> (void)</td></tr>
<tr class="memdesc:a88d4d0d41f33f71d4a846f6c2547f597"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the Sensor mode of the A/C.  <a href="classIRDaikin152.html#a88d4d0d41f33f71d4a846f6c2547f597">More...</a><br /></td></tr>
<tr class="separator:a88d4d0d41f33f71d4a846f6c2547f597"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8062d16f7aefb7586e3d3bdfea8755b4"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIRDaikin152.html#a8062d16f7aefb7586e3d3bdfea8755b4">setEcono</a> (const bool <a class="el" href="classIRDaikin152.html#a10ee74aa43e3940d657ac88cb03b9138">on</a>)</td></tr>
<tr class="memdesc:a8062d16f7aefb7586e3d3bdfea8755b4"><td class="mdescLeft">&#160;</td><td class="mdescRight">Set the Economy mode of the A/C.  <a href="classIRDaikin152.html#a8062d16f7aefb7586e3d3bdfea8755b4">More...</a><br /></td></tr>
<tr class="separator:a8062d16f7aefb7586e3d3bdfea8755b4"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9946c73f0c5906fbb2f39119e00531e5"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIRDaikin152.html#a9946c73f0c5906fbb2f39119e00531e5">getEcono</a> (void)</td></tr>
<tr class="memdesc:a9946c73f0c5906fbb2f39119e00531e5"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the Economical mode of the A/C.  <a href="classIRDaikin152.html#a9946c73f0c5906fbb2f39119e00531e5">More...</a><br /></td></tr>
<tr class="separator:a9946c73f0c5906fbb2f39119e00531e5"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a95de2dc0a90fe4212cb60973b9430486"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIRDaikin152.html#a95de2dc0a90fe4212cb60973b9430486">setComfort</a> (const bool <a class="el" href="classIRDaikin152.html#a10ee74aa43e3940d657ac88cb03b9138">on</a>)</td></tr>
<tr class="memdesc:a95de2dc0a90fe4212cb60973b9430486"><td class="mdescLeft">&#160;</td><td class="mdescRight">Set the Comfort mode of the A/C.  <a href="classIRDaikin152.html#a95de2dc0a90fe4212cb60973b9430486">More...</a><br /></td></tr>
<tr class="separator:a95de2dc0a90fe4212cb60973b9430486"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a22cc2073fd7d4a609c335172ff6720cf"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIRDaikin152.html#a22cc2073fd7d4a609c335172ff6720cf">getComfort</a> (void)</td></tr>
<tr class="memdesc:a22cc2073fd7d4a609c335172ff6720cf"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the Comfort mode of the A/C.  <a href="classIRDaikin152.html#a22cc2073fd7d4a609c335172ff6720cf">More...</a><br /></td></tr>
<tr class="separator:a22cc2073fd7d4a609c335172ff6720cf"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a96fee4c7cee70cc9249c556b277b2f74"><td class="memItemLeft" align="right" valign="top"><a class="el" href="structstdAc_1_1state__t.html">stdAc::state_t</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIRDaikin152.html#a96fee4c7cee70cc9249c556b277b2f74">toCommon</a> (void)</td></tr>
<tr class="memdesc:a96fee4c7cee70cc9249c556b277b2f74"><td class="mdescLeft">&#160;</td><td class="mdescRight">Convert the current internal state into its <a class="el" href="structstdAc_1_1state__t.html" title="Structure to hold a common A/C state.">stdAc::state_t</a> equivilant.  <a href="classIRDaikin152.html#a96fee4c7cee70cc9249c556b277b2f74">More...</a><br /></td></tr>
<tr class="separator:a96fee4c7cee70cc9249c556b277b2f74"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:abb9253e8fe7e9bdf786246ce7ab8c54b"><td class="memItemLeft" align="right" valign="top"><a class="el" href="IRremoteESP8266_8h.html#afbeda3fd1bdc8c37d01bdf9f5c8274ff">String</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIRDaikin152.html#abb9253e8fe7e9bdf786246ce7ab8c54b">toString</a> (void)</td></tr>
<tr class="memdesc:abb9253e8fe7e9bdf786246ce7ab8c54b"><td class="mdescLeft">&#160;</td><td class="mdescRight">Convert the current internal state into a human readable string.  <a href="classIRDaikin152.html#abb9253e8fe7e9bdf786246ce7ab8c54b">More...</a><br /></td></tr>
<tr class="separator:abb9253e8fe7e9bdf786246ce7ab8c54b"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-static-methods"></a>
Static Public Member Functions</h2></td></tr>
<tr class="memitem:ade1c641eecea63857115fc20f1811fe7"><td class="memItemLeft" align="right" valign="top">static bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIRDaikin152.html#ade1c641eecea63857115fc20f1811fe7">validChecksum</a> (uint8_t state[], const uint16_t length=<a class="el" href="IRremoteESP8266_8h.html#ae7579708922ffd3e44295f8770878983">kDaikin152StateLength</a>)</td></tr>
<tr class="memdesc:ade1c641eecea63857115fc20f1811fe7"><td class="mdescLeft">&#160;</td><td class="mdescRight">Verify the checksum is valid for a given state.  <a href="classIRDaikin152.html#ade1c641eecea63857115fc20f1811fe7">More...</a><br /></td></tr>
<tr class="separator:ade1c641eecea63857115fc20f1811fe7"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a25592419c95c0271d8a0c4203a2919c3"><td class="memItemLeft" align="right" valign="top">static uint8_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIRDaikin152.html#a25592419c95c0271d8a0c4203a2919c3">convertMode</a> (const <a class="el" href="namespacestdAc.html#a99ad268c783486f9b3207cb78f48444f">stdAc::opmode_t</a> mode)</td></tr>
<tr class="memdesc:a25592419c95c0271d8a0c4203a2919c3"><td class="mdescLeft">&#160;</td><td class="mdescRight">Convert a <a class="el" href="namespacestdAc.html#a99ad268c783486f9b3207cb78f48444f" title="Common A/C settings for A/C operating modes.">stdAc::opmode_t</a> enum into its native mode.  <a href="classIRDaikin152.html#a25592419c95c0271d8a0c4203a2919c3">More...</a><br /></td></tr>
<tr class="separator:a25592419c95c0271d8a0c4203a2919c3"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5e2e79252602ca3493baf00cf3fe7787"><td class="memItemLeft" align="right" valign="top">static uint8_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIRDaikin152.html#a5e2e79252602ca3493baf00cf3fe7787">convertFan</a> (const <a class="el" href="namespacestdAc.html#a8bb0dbf18fe69f639f4ac0b3ff133383">stdAc::fanspeed_t</a> speed)</td></tr>
<tr class="memdesc:a5e2e79252602ca3493baf00cf3fe7787"><td class="mdescLeft">&#160;</td><td class="mdescRight">Convert a <a class="el" href="namespacestdAc.html#a8bb0dbf18fe69f639f4ac0b3ff133383" title="Common A/C settings for Fan Speeds.">stdAc::fanspeed_t</a> enum into it's native speed.  <a href="classIRDaikin152.html#a5e2e79252602ca3493baf00cf3fe7787">More...</a><br /></td></tr>
<tr class="separator:a5e2e79252602ca3493baf00cf3fe7787"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pri-methods"></a>
Private Member Functions</h2></td></tr>
<tr class="memitem:a278291def7d0e14552e7fbe9a56346bd"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIRDaikin152.html#a278291def7d0e14552e7fbe9a56346bd">stateReset</a> ()</td></tr>
<tr class="memdesc:a278291def7d0e14552e7fbe9a56346bd"><td class="mdescLeft">&#160;</td><td class="mdescRight">Reset the internal state to a fixed known good state.  <a href="classIRDaikin152.html#a278291def7d0e14552e7fbe9a56346bd">More...</a><br /></td></tr>
<tr class="separator:a278291def7d0e14552e7fbe9a56346bd"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0e208d3e1938abcb320665fffd6ed0e3"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIRDaikin152.html#a0e208d3e1938abcb320665fffd6ed0e3">checksum</a> ()</td></tr>
<tr class="memdesc:a0e208d3e1938abcb320665fffd6ed0e3"><td class="mdescLeft">&#160;</td><td class="mdescRight">Calculate and set the checksum values for the internal state.  <a href="classIRDaikin152.html#a0e208d3e1938abcb320665fffd6ed0e3">More...</a><br /></td></tr>
<tr class="separator:a0e208d3e1938abcb320665fffd6ed0e3"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pri-attribs"></a>
Private Attributes</h2></td></tr>
<tr class="memitem:a9b203215156d48dabac0fa8fd19dc613"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classIRsend.html">IRsend</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIRDaikin152.html#a9b203215156d48dabac0fa8fd19dc613">_irsend</a></td></tr>
<tr class="memdesc:a9b203215156d48dabac0fa8fd19dc613"><td class="mdescLeft">&#160;</td><td class="mdescRight">instance of the IR send class  <a href="classIRDaikin152.html#a9b203215156d48dabac0fa8fd19dc613">More...</a><br /></td></tr>
<tr class="separator:a9b203215156d48dabac0fa8fd19dc613"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa16c89c0cb6d83aef83d293466dab197"><td class="memItemLeft" align="right" valign="top">uint8_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIRDaikin152.html#aa16c89c0cb6d83aef83d293466dab197">remote_state</a> [<a class="el" href="IRremoteESP8266_8h.html#ae7579708922ffd3e44295f8770878983">kDaikin152StateLength</a>]</td></tr>
<tr class="memdesc:aa16c89c0cb6d83aef83d293466dab197"><td class="mdescLeft">&#160;</td><td class="mdescRight">The state of the IR remote.  <a href="classIRDaikin152.html#aa16c89c0cb6d83aef83d293466dab197">More...</a><br /></td></tr>
<tr class="separator:aa16c89c0cb6d83aef83d293466dab197"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p>Class for handling detailed Daikin 152-bit A/C messages. </p>
</div><h2 class="groupheader">Constructor &amp; Destructor Documentation</h2>
<a id="a68dce79bab5890d9aea325a45ef8e4a3"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a68dce79bab5890d9aea325a45ef8e4a3">&#9670;&nbsp;</a></span>IRDaikin152()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">IRDaikin152::IRDaikin152 </td>
          <td>(</td>
          <td class="paramtype">const uint16_t&#160;</td>
          <td class="paramname"><em>pin</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const bool&#160;</td>
          <td class="paramname"><em>inverted</em> = <code>false</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const bool&#160;</td>
          <td class="paramname"><em>use_modulation</em> = <code>true</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">explicit</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Class constructor. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">pin</td><td>GPIO to be used when sending. </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">inverted</td><td>Is the output signal to be inverted? </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">use_modulation</td><td>Is frequency modulation to be used? </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<h2 class="groupheader">Member Function Documentation</h2>
<a id="a2746854350ca7d3a71699439f9843381"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a2746854350ca7d3a71699439f9843381">&#9670;&nbsp;</a></span>begin()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void IRDaikin152::begin </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Set up hardware to be able to send a message. </p>

</div>
</div>
<a id="a82fa8bfb3384ed09473345b6e194c3ba"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a82fa8bfb3384ed09473345b6e194c3ba">&#9670;&nbsp;</a></span>calibrate()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">int8_t IRDaikin152::calibrate </td>
          <td>(</td>
          <td class="paramtype">void&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Run the calibration to calculate uSec timing offsets for this platform. </p>
<dl class="section return"><dt>Returns</dt><dd>The uSec timing offset needed per modulation of the IR Led. </dd></dl>
<dl class="section note"><dt>Note</dt><dd>This will produce a 65ms IR signal pulse at 38kHz. Only ever needs to be run once per object instantiation, if at all. </dd></dl>

</div>
</div>
<a id="a0e208d3e1938abcb320665fffd6ed0e3"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a0e208d3e1938abcb320665fffd6ed0e3">&#9670;&nbsp;</a></span>checksum()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void IRDaikin152::checksum </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">private</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Calculate and set the checksum values for the internal state. </p>

</div>
</div>
<a id="a5e2e79252602ca3493baf00cf3fe7787"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a5e2e79252602ca3493baf00cf3fe7787">&#9670;&nbsp;</a></span>convertFan()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">uint8_t IRDaikin152::convertFan </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="namespacestdAc.html#a8bb0dbf18fe69f639f4ac0b3ff133383">stdAc::fanspeed_t</a>&#160;</td>
          <td class="paramname"><em>speed</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Convert a <a class="el" href="namespacestdAc.html#a8bb0dbf18fe69f639f4ac0b3ff133383" title="Common A/C settings for Fan Speeds.">stdAc::fanspeed_t</a> enum into it's native speed. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">speed</td><td>The enum to be converted. </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>The native equivilant of the enum. </dd></dl>

</div>
</div>
<a id="a25592419c95c0271d8a0c4203a2919c3"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a25592419c95c0271d8a0c4203a2919c3">&#9670;&nbsp;</a></span>convertMode()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">uint8_t IRDaikin152::convertMode </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="namespacestdAc.html#a99ad268c783486f9b3207cb78f48444f">stdAc::opmode_t</a>&#160;</td>
          <td class="paramname"><em>mode</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Convert a <a class="el" href="namespacestdAc.html#a99ad268c783486f9b3207cb78f48444f" title="Common A/C settings for A/C operating modes.">stdAc::opmode_t</a> enum into its native mode. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">mode</td><td>The enum to be converted. </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>The native equivilant of the enum. </dd></dl>

</div>
</div>
<a id="a22cc2073fd7d4a609c335172ff6720cf"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a22cc2073fd7d4a609c335172ff6720cf">&#9670;&nbsp;</a></span>getComfort()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool IRDaikin152::getComfort </td>
          <td>(</td>
          <td class="paramtype">void&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Get the Comfort mode of the A/C. </p>
<dl class="section return"><dt>Returns</dt><dd>true, the setting is on. false, the setting is off. </dd></dl>

</div>
</div>
<a id="a9946c73f0c5906fbb2f39119e00531e5"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a9946c73f0c5906fbb2f39119e00531e5">&#9670;&nbsp;</a></span>getEcono()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool IRDaikin152::getEcono </td>
          <td>(</td>
          <td class="paramtype">void&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Get the Economical mode of the A/C. </p>
<dl class="section return"><dt>Returns</dt><dd>true, the setting is on. false, the setting is off. </dd></dl>

</div>
</div>
<a id="a64eacdc63547026477b5f861e7da62ea"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a64eacdc63547026477b5f861e7da62ea">&#9670;&nbsp;</a></span>getFan()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">uint8_t IRDaikin152::getFan </td>
          <td>(</td>
          <td class="paramtype">void&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Get the current fan speed setting. </p>
<dl class="section return"><dt>Returns</dt><dd>The current fan speed. </dd></dl>

</div>
</div>
<a id="af4c6c468f3075ffa83694a0da15a707b"></a>
<h2 class="memtitle"><span class="permalink"><a href="#af4c6c468f3075ffa83694a0da15a707b">&#9670;&nbsp;</a></span>getMode()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">uint8_t IRDaikin152::getMode </td>
          <td>(</td>
          <td class="paramtype">void&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Get the operating mode setting of the A/C. </p>
<dl class="section return"><dt>Returns</dt><dd>The current operating mode setting. </dd></dl>

</div>
</div>
<a id="a8581147072fecf6ebd0dd2da50a63f05"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a8581147072fecf6ebd0dd2da50a63f05">&#9670;&nbsp;</a></span>getPower()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool IRDaikin152::getPower </td>
          <td>(</td>
          <td class="paramtype">void&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Get the value of the current power setting. </p>
<dl class="section return"><dt>Returns</dt><dd>true, the setting is on. false, the setting is off. </dd></dl>

</div>
</div>
<a id="a20ec24a0ef288cabb93080b4fa0f71fe"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a20ec24a0ef288cabb93080b4fa0f71fe">&#9670;&nbsp;</a></span>getPowerful()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool IRDaikin152::getPowerful </td>
          <td>(</td>
          <td class="paramtype">void&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Get the Powerful (Turbo) mode of the A/C. </p>
<dl class="section return"><dt>Returns</dt><dd>true, the setting is on. false, the setting is off. </dd></dl>

</div>
</div>
<a id="adc8878ec0f6ea2d4fc2fa756a2e9ef4e"></a>
<h2 class="memtitle"><span class="permalink"><a href="#adc8878ec0f6ea2d4fc2fa756a2e9ef4e">&#9670;&nbsp;</a></span>getQuiet()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool IRDaikin152::getQuiet </td>
          <td>(</td>
          <td class="paramtype">void&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Get the Quiet mode status of the A/C. </p>
<dl class="section return"><dt>Returns</dt><dd>true, the setting is on. false, the setting is off. </dd></dl>

</div>
</div>
<a id="a4af01f8a2459493762977f8ed260c4e6"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a4af01f8a2459493762977f8ed260c4e6">&#9670;&nbsp;</a></span>getRaw()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">uint8_t * IRDaikin152::getRaw </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Get a PTR to the internal state/code for this protocol. </p>
<dl class="section return"><dt>Returns</dt><dd>PTR to a code for this protocol based on the current internal state. </dd></dl>

</div>
</div>
<a id="a88d4d0d41f33f71d4a846f6c2547f597"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a88d4d0d41f33f71d4a846f6c2547f597">&#9670;&nbsp;</a></span>getSensor()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool IRDaikin152::getSensor </td>
          <td>(</td>
          <td class="paramtype">void&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Get the Sensor mode of the A/C. </p>
<dl class="section return"><dt>Returns</dt><dd>true, the setting is on. false, the setting is off. </dd></dl>

</div>
</div>
<a id="a74ee60e666520513b33927178f15bc7e"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a74ee60e666520513b33927178f15bc7e">&#9670;&nbsp;</a></span>getSwingV()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool IRDaikin152::getSwingV </td>
          <td>(</td>
          <td class="paramtype">void&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Get the Vertical Swing mode of the A/C. </p>
<dl class="section return"><dt>Returns</dt><dd>true, the setting is on. false, the setting is off. </dd></dl>

</div>
</div>
<a id="af0a1f8bf9fe412186b53977d225032b2"></a>
<h2 class="memtitle"><span class="permalink"><a href="#af0a1f8bf9fe412186b53977d225032b2">&#9670;&nbsp;</a></span>getTemp()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">uint8_t IRDaikin152::getTemp </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Get the current temperature setting. </p>
<dl class="section return"><dt>Returns</dt><dd>The current setting for temp. in degrees celsius. </dd></dl>

</div>
</div>
<a id="a035588ad676a54d2b6ada8cefe10e114"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a035588ad676a54d2b6ada8cefe10e114">&#9670;&nbsp;</a></span>off()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void IRDaikin152::off </td>
          <td>(</td>
          <td class="paramtype">void&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Change the power setting to Off. </p>

</div>
</div>
<a id="a10ee74aa43e3940d657ac88cb03b9138"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a10ee74aa43e3940d657ac88cb03b9138">&#9670;&nbsp;</a></span>on()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void IRDaikin152::on </td>
          <td>(</td>
          <td class="paramtype">void&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Change the power setting to On. </p>

</div>
</div>
<a id="a205de6821effc077f51d941d369791e4"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a205de6821effc077f51d941d369791e4">&#9670;&nbsp;</a></span>send()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void IRDaikin152::send </td>
          <td>(</td>
          <td class="paramtype">const uint16_t&#160;</td>
          <td class="paramname"><em>repeat</em> = <code><a class="el" href="IRremoteESP8266_8h.html#a9407eebab271524e74bc3ddddb1a2e0b">kDaikin152DefaultRepeat</a></code></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Send the current internal state as an IR message. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">repeat</td><td>Nr. of times the message will be repeated. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="a95de2dc0a90fe4212cb60973b9430486"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a95de2dc0a90fe4212cb60973b9430486">&#9670;&nbsp;</a></span>setComfort()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void IRDaikin152::setComfort </td>
          <td>(</td>
          <td class="paramtype">const bool&#160;</td>
          <td class="paramname"><em>on</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Set the Comfort mode of the A/C. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">on</td><td>true, the setting is on. false, the setting is off. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="a8062d16f7aefb7586e3d3bdfea8755b4"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a8062d16f7aefb7586e3d3bdfea8755b4">&#9670;&nbsp;</a></span>setEcono()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void IRDaikin152::setEcono </td>
          <td>(</td>
          <td class="paramtype">const bool&#160;</td>
          <td class="paramname"><em>on</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Set the Economy mode of the A/C. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">on</td><td>true, the setting is on. false, the setting is off. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="a385a4f65dfccd0a9e94be06ae60c5343"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a385a4f65dfccd0a9e94be06ae60c5343">&#9670;&nbsp;</a></span>setFan()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void IRDaikin152::setFan </td>
          <td>(</td>
          <td class="paramtype">const uint8_t&#160;</td>
          <td class="paramname"><em>fan</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Set the speed of the fan. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">fan</td><td>The desired setting. </td></tr>
  </table>
  </dd>
</dl>
<dl class="section note"><dt>Note</dt><dd>1-5 or kDaikinFanAuto or kDaikinFanQuiet </dd></dl>

</div>
</div>
<a id="aad0a46c751b73792282d6614103f57d8"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aad0a46c751b73792282d6614103f57d8">&#9670;&nbsp;</a></span>setMode()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void IRDaikin152::setMode </td>
          <td>(</td>
          <td class="paramtype">const uint8_t&#160;</td>
          <td class="paramname"><em>mode</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Set the operating mode of the A/C. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">mode</td><td>The desired operating mode. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="a887f7340b9c3e7933f5d06bc5f59ee91"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a887f7340b9c3e7933f5d06bc5f59ee91">&#9670;&nbsp;</a></span>setPower()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void IRDaikin152::setPower </td>
          <td>(</td>
          <td class="paramtype">const bool&#160;</td>
          <td class="paramname"><em>on</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Change the power setting. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">on</td><td>true, the setting is on. false, the setting is off. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="a6477111b5662146e937c10cf02423e10"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a6477111b5662146e937c10cf02423e10">&#9670;&nbsp;</a></span>setPowerful()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void IRDaikin152::setPowerful </td>
          <td>(</td>
          <td class="paramtype">const bool&#160;</td>
          <td class="paramname"><em>on</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Set the Powerful (Turbo) mode of the A/C. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">on</td><td>true, the setting is on. false, the setting is off. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="a3aadf5f0ae11c5c6c53f351dd6b9c1a4"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a3aadf5f0ae11c5c6c53f351dd6b9c1a4">&#9670;&nbsp;</a></span>setQuiet()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void IRDaikin152::setQuiet </td>
          <td>(</td>
          <td class="paramtype">const bool&#160;</td>
          <td class="paramname"><em>on</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Set the Quiet mode of the A/C. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">on</td><td>true, the setting is on. false, the setting is off. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="aab10e030ebe66e44607e9f35af1eb4cb"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aab10e030ebe66e44607e9f35af1eb4cb">&#9670;&nbsp;</a></span>setRaw()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void IRDaikin152::setRaw </td>
          <td>(</td>
          <td class="paramtype">const uint8_t&#160;</td>
          <td class="paramname"><em>new_code</em>[]</td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Set the internal state from a valid code for this protocol. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">new_code</td><td>A valid code for this protocol. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="af418dbf2bb79dab0193801167dfb5b78"></a>
<h2 class="memtitle"><span class="permalink"><a href="#af418dbf2bb79dab0193801167dfb5b78">&#9670;&nbsp;</a></span>setSensor()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void IRDaikin152::setSensor </td>
          <td>(</td>
          <td class="paramtype">const bool&#160;</td>
          <td class="paramname"><em>on</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Set the Sensor mode of the A/C. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">on</td><td>true, the setting is on. false, the setting is off. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="ad151bb85529d46f7e3e3e65dbf446ff0"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ad151bb85529d46f7e3e3e65dbf446ff0">&#9670;&nbsp;</a></span>setSwingV()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void IRDaikin152::setSwingV </td>
          <td>(</td>
          <td class="paramtype">const bool&#160;</td>
          <td class="paramname"><em>on</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Set the Vertical Swing mode of the A/C. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">on</td><td>true, the setting is on. false, the setting is off. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="a97567ade1c0262b3f95f23f171936d8c"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a97567ade1c0262b3f95f23f171936d8c">&#9670;&nbsp;</a></span>setTemp()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void IRDaikin152::setTemp </td>
          <td>(</td>
          <td class="paramtype">const uint8_t&#160;</td>
          <td class="paramname"><em>temp</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Set the temperature. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">temp</td><td>The temperature in degrees celsius. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="a278291def7d0e14552e7fbe9a56346bd"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a278291def7d0e14552e7fbe9a56346bd">&#9670;&nbsp;</a></span>stateReset()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void IRDaikin152::stateReset </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">private</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Reset the internal state to a fixed known good state. </p>

</div>
</div>
<a id="a96fee4c7cee70cc9249c556b277b2f74"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a96fee4c7cee70cc9249c556b277b2f74">&#9670;&nbsp;</a></span>toCommon()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="structstdAc_1_1state__t.html">stdAc::state_t</a> IRDaikin152::toCommon </td>
          <td>(</td>
          <td class="paramtype">void&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Convert the current internal state into its <a class="el" href="structstdAc_1_1state__t.html" title="Structure to hold a common A/C state.">stdAc::state_t</a> equivilant. </p>
<dl class="section return"><dt>Returns</dt><dd>The <a class="el" href="namespacestdAc.html" title="Enumerators and Structures for the Common A/C API.">stdAc</a> equivilant of the native settings. </dd></dl>

</div>
</div>
<a id="abb9253e8fe7e9bdf786246ce7ab8c54b"></a>
<h2 class="memtitle"><span class="permalink"><a href="#abb9253e8fe7e9bdf786246ce7ab8c54b">&#9670;&nbsp;</a></span>toString()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="IRremoteESP8266_8h.html#afbeda3fd1bdc8c37d01bdf9f5c8274ff">String</a> IRDaikin152::toString </td>
          <td>(</td>
          <td class="paramtype">void&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Convert the current internal state into a human readable string. </p>
<dl class="section return"><dt>Returns</dt><dd>A human readable string. </dd></dl>

</div>
</div>
<a id="ade1c641eecea63857115fc20f1811fe7"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ade1c641eecea63857115fc20f1811fe7">&#9670;&nbsp;</a></span>validChecksum()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">bool IRDaikin152::validChecksum </td>
          <td>(</td>
          <td class="paramtype">uint8_t&#160;</td>
          <td class="paramname"><em>state</em>[], </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const uint16_t&#160;</td>
          <td class="paramname"><em>length</em> = <code><a class="el" href="IRremoteESP8266_8h.html#ae7579708922ffd3e44295f8770878983">kDaikin152StateLength</a></code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Verify the checksum is valid for a given state. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">state</td><td>The array to verify the checksum of. </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">length</td><td>The length of the state array. </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>true, if the state has a valid checksum. Otherwise, false. </dd></dl>

</div>
</div>
<h2 class="groupheader">Member Data Documentation</h2>
<a id="a9b203215156d48dabac0fa8fd19dc613"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a9b203215156d48dabac0fa8fd19dc613">&#9670;&nbsp;</a></span>_irsend</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classIRsend.html">IRsend</a> IRDaikin152::_irsend</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">private</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>instance of the IR send class </p>

</div>
</div>
<a id="aa16c89c0cb6d83aef83d293466dab197"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aa16c89c0cb6d83aef83d293466dab197">&#9670;&nbsp;</a></span>remote_state</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">uint8_t IRDaikin152::remote_state[<a class="el" href="IRremoteESP8266_8h.html#ae7579708922ffd3e44295f8770878983">kDaikin152StateLength</a>]</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">private</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>The state of the IR remote. </p>

</div>
</div>
<hr/>The documentation for this class was generated from the following files:<ul>
<li>src/<a class="el" href="ir__Daikin_8h_source.html">ir_Daikin.h</a></li>
<li>src/<a class="el" href="ir__Daikin_8cpp.html">ir_Daikin.cpp</a></li>
</ul>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.17
</small></address>
</body>
</html>
